// 导入myAxios
import axios from "@/utils/myAxios.js";

export default function (file) {
   return axios({
      method: 'post',
      url: '/upload',
      data: file
   });
}